﻿#pragma once
#include "openctp.h"
#include "../cdwStrategy/cdwStrategy.h"

class createDeviceApp : public IFApplication,public ICDW
{
	FDECLARE_CLASS(createDeviceApp);
public:
	FIDFONT fnt_id;             // 自定义字体ID
	FIDTEXTURE tex_id;
	float sprx, spry;	
	FUI_System uiSys;
	openctp myWnd;
	FStringA			szImei;
	
public:
	createDeviceApp();
	virtual bool Create();
	virtual void Destroy();
	virtual void Render();
	virtual bool OnInput(FINPUT_PACKAGE& ipk);	
	virtual void Update();
	
	/*
		java imple
	*/
	void OnIMEI(FStringA imei){ szImei = imei; }

public:
	/************************************************************************/
	/* 
		CDW回调
	*/
	/************************************************************************/
	virtual void OnQuote(tagMarketData * data);
};